package gragh;

import java.io.Serializable;
import java.util.ArrayList;

import database.attset.SetAttribute;

public class ENode extends SetAttribute implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1;
    public ENode directLink;
    public constraint.Constraint constraint;
    public boolean isLeft;
    public String constant;
    public ArrayList<String> func;
    
    /**
     * type = 10 : node is Element list (not func)
     * type = 11 : node is Element list (is func)
     * type = 20 : node is Group 
     * type = 90 : node is Constant
     */
    public int type;
    public String strValue;
    public String strViewValue;
    
    /**
     * Chi dung cho group - type = 20
     */
    public SetAttribute groupLeader;
    public SetAttribute path;
    
    /**
     * 0: binh thuong
     * 1: tham chieu de quy
     */
    public int special;
    
    public ENode() {
        constant = "";
        func = new ArrayList<String>();
        groupLeader = new SetAttribute();
        path = new SetAttribute();
        special = 0;
    }
}
